﻿<%@ Page Title="" Language="C#" MasterPageFile="~/expert/mpexpert.master" AutoEventWireup="true"
    CodeBehind="artList.aspx.cs" Inherits="ZF.WS.expert.artList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <style>
        .article { width: 100%; background: #eee; }
        .article td, .article th { background: #fff; line-height: 40px; text-align: left; padding-left: 5px; }
        .article td.t1 { width: 400px; text-align: left; }
        .article td.t2 { width: 50px; }
        .article td.t3 { width: 120px; }
        .article td.t1 p { text-align: left; }
        .article td.t1 p * { display: inline-table; }
        .article td.t1 span { font-weight: bold; }
    </style>
  
  
  
  
  
  
  
 
                  
  
  
  
  
    <div id="art" class="board article mt10_  ">
        <dl>
            <dt>
                <zf:ListView runat="server" ID="lvArtList">
                    <LayoutTemplate>
                        <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                        </zf:PlaceHolder>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <a href="javascript:" class="<%# Container.DataItemIndex==0?"active":"dn_" %> slide"
                            bind="art<%# (int)Eval("Key") %>">
                            <%# Eval("Key") %></a>
                    </ItemTemplate>
                </zf:ListView>
            </dt>
            <zf:ListView runat="server" ID="lvArtList1">
                <LayoutTemplate>
                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                    </zf:PlaceHolder>
                </LayoutTemplate>
                <ItemTemplate>
                    <dd class="slide art<%# (int)Eval("Key") %> <%# Container.DataItemIndex==0?"active":"dn_" %>">
                        <table class="w100_" cellpadding="1" cellspacing="1">
                            <zf:ListView ID="ListView1" runat="server" DataSource='<%# Eval("Value") %>'>
                                <LayoutTemplate>
                                    <tr>
                                        <th class="t1">
                                            标题/简要
                                        </th>
                                        <th class="t2">
                                            点击率
                                        </th>
                                        <th class="t3">
                                            日期
                                        </th>
                                    </tr>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </LayoutTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="t1">
                                            <p class="title">
                                                <span>标题：</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="article.aspx?id=<%#Eval("MemberId")%>&aid=<%#Eval("ArticleId")%>"><%#((string)Eval("Title")).MaxLength(20)%></a></p>
                                        </td>
                                        <td class="t2">
                                            <%# Random.Next(1000)%>
                                        </td>
                                        <td class="t3">
                                            <%#Eval("AddTime")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </zf:ListView>
                        </table>
                    </dd>
                </ItemTemplate>
            </zf:ListView>
        </dl>
    </div>
</asp:Content>
